﻿using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using System;

namespace H2.NET.Web.Pages.SMD.Model
{
    [Table]
    [Serializable]
    public class t_smd_Incidents : DataObject
    {
        [ID]
        [Column]
        [IDENTITY]
        public int ID { get { return fID; } set { fID = value; EntityState.FieldChange("ID"); } } private int fID; public static FieldInfo _ID = new FieldInfo("m_TagBoard", "ID");
        [Column]
        public string Process { get { return fPROCESS; } set { fPROCESS = value; EntityState.FieldChange("Process"); } } private string fPROCESS; public static FieldInfo _Process = new FieldInfo("m_TagBoard", "Process");
        [Column]
        public int Incident { get { return fINCIDENT; } set { fINCIDENT = value; EntityState.FieldChange("Incident"); } } private int fINCIDENT; public static FieldInfo _Incident = new FieldInfo("m_TagBoard", "Incident");
        [Column]
        public string UserName { get { return fUSERNAME; } set { fUSERNAME = value; EntityState.FieldChange("UserName"); } } private string fUSERNAME; public static FieldInfo _UserName = new FieldInfo("m_TagBoard", "UserName");
        [Column]
        public string No { get { return fNO; } set { fNO = value; EntityState.FieldChange("No"); } } private string fNO; public static FieldInfo _No = new FieldInfo("m_TagBoard", "No");
        [Column]
        public string Actions { get { return fACTIONS; } set { fACTIONS = value; EntityState.FieldChange("Actions"); } } private string fACTIONS; public static FieldInfo _Actions = new FieldInfo("m_TagBoard", "Actions");
        [Column]
        public int BusinessId { get { return fBUSINESSID; } set { fBUSINESSID = value; EntityState.FieldChange("BusinessId"); } } private int fBUSINESSID; public static FieldInfo _BusinessId = new FieldInfo("m_TagBoard", "BusinessId");

    }
}